<admintpl file="header" />
</head>
<body style="min-width: 800px;">
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="">数据预览</a></li>
			<li class=""><a href="{:U('add')}">添加节假日</a></li>
		</ul>
		<form class="well form-search" method="post" action="{:U('index')}">
			时间
			<input type="text" name="start_time" class="js-date" value="{$_REQUEST[start_time]}" style="width: 80px;" autocomplete="off">-
			<input autocomplete="off" type="text" class="js-date" name="end_time" value="{$_REQUEST['end_time']}" style="width: 80px;"> 姓名

			<button class="btn btn-primary">搜索</button>
			<a class="btn btn-primary" href="{:U('')}">清空</a>
		</form>
		<form class="js-ajax-form" method="post">
			<div class="table-actions">
				<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('delete')}" data-subcheck="true" data-msg="你确定删除吗？">删除</button>
			</div>
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
						<th width="50">ID</th>
						<th width="">节日</th>
						<th width="">日期</th>
						<th width="">操作</th>
						
					</tr>
				</thead>
				<foreach name="list" item="vo">
				<tr>
					<td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}"></td>
					<td>{$vo.id}</td>
					<td><a href="{:U('edit',['id'=>$vo[id]])}">{$vo.title}</a></td>
					<td>{$vo.date}</td>
					<td>
						<a href="{:U('edit',['id'=>$vo[id]])}">编辑</a>|
						<a href="{:U('delete',['ids'=>$vo[id]])}" class="js-ajax-delete">删除</a>
					</td>
				</tr>
				</foreach>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>